package com.sunlong.jiangwei.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.data.elasticsearch.annotations.Document;
import tk.mybatis.mapper.annotation.KeySql;

import javax.persistence.Id;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author 孙龙
 * @since 2021-02-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class JwSpuDetail implements Serializable {

    @Id
    @KeySql(useGeneratedKeys = true)
    private Long spuDetailId;

    private Long spuId;

    /**
     * 商品描述信息
     */
    private String spuDescription;

    /**
     * 通用规格参数数据
     */
    private String spuGenericSpec;

    /**
     * 特有规格参数及可选值信息，json格式
     */
    private String spuSpecialSpec;


}
